package com.ytooo.controller;

import com.ytooo.service.DroolsDemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @author qiaojiacheng
 */
@RestController
@RequestMapping("/drools")
public class DroolsDemoController {

    @Autowired
    private DroolsDemoService droolsDemoService;

    @GetMapping("/test")
    public String pageList() {
        droolsDemoService.testDrools();
        return "success";
    }

}
